home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / hity wydania / Ubuntu 9.10 PL / karmelkowy-koliberek-desktop-9.10-i386-PL.iso / casper / filesystem.squashfs / usr / share / yelp / xslt / db-title.xsl next >
Extensible Markup Language  |  2009-10-15  |  750b  |  24 lines

  1. <?xml version='1.0' encoding='UTF-8'?><!-- -*- indent-tabs-mode: nil -*- -->
  2. <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
  3.                 xmlns:yelp="http://www.gnome.org/yelp/ns"
  4.                 xmlns="http://www.w3.org/1999/xhtml"
  5.                 extension-element-prefixes="yelp"
  6.                 version="1.0">
  7.  
  8. <xsl:import href="/usr/share/xml/gnome/xslt/docbook/common/db-title.xsl"/>
  9.  
  10. <xsl:template name="node"/>
  11.  
  12. <xsl:output method="text"/>
  13.  
  14. <xsl:template match="/">
  15.   <xsl:variable name="title">
  16.     <xsl:call-template name="db.titleabbrev">
  17.       <xsl:with-param name="node" select="$node"/>
  18.     </xsl:call-template>
  19.   </xsl:variable>
  20.   <xsl:value-of select="normalize-space($title)"/>
  21. </xsl:template>
  22.  
  23. </xsl:stylesheet>
  24.